6a7ecb27b42171b82958c047c7dc9a910505aa9a,src/org/jgroups/stack/ProtocolStack.java,ProtocolStack,setup,#ProtocolStack#,434
Before Change
if(top_prot == null) {
top_prot=Configurator.connectProtocols(protocols);
top_prot.setUpProtocol(this);
bottom_prot=Configurator.getBottommostProtocol(top_prot);
Collections.reverse(protocols);
Configurator.initProtocolStack(protocols, singleton_transports); // calls init() on each protocol, from bottom to top
}
}
After Change
public void setup(ProtocolStack stack) throws Exception {
if(top_prot == null) {
top_prot=getProtocolStackFactory().setupProtocolStack(stack);
top_prot.setUpProtocol(this);
this.setDownProtocol(top_prot);
bottom_prot=getBottomProtocol();
initProtocolStack();
}
}